﻿using System;
using System.ComponentModel.DataAnnotations.Schema;
using DapperExtensions.Mapper;
namespace LS.Entitys
{
    /// <summary>
    /// 角色菜单管理
    /// </summary>
    [Table("sys_rolemenu")]
    public class SysRoleMenuEntity:EntityBase
    {
       
        /// <summary>
        /// 菜单代码
        /// </summary>
        public string MenuCode { get; set; }
        /// <summary>
        /// 角色代码
        /// </summary>
        public string RoleCode { get; set; }
        /// <summary>
        /// 功能代码
        /// </summary>
        public string FunCode { get; set; }
    }
    public class SysRoleMenuEntityMapper : ClassMapper<SysRoleMenuEntity>
    {
        public SysRoleMenuEntityMapper()
        {
            Table("sys_rolemenu");
            AutoMap();
        }
    }
}
